﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace SqliteDAL.Migrations
{
    /// <inheritdoc />
    public partial class Initial111 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<double>(
                name: "BoardX",
                table: "T_WashBoards",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);

            migrationBuilder.AddColumn<double>(
                name: "BoardY",
                table: "T_WashBoards",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);

            migrationBuilder.AddColumn<double>(
                name: "BoardZ",
                table: "T_WashBoards",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);

            migrationBuilder.AddColumn<double>(
                name: "MaxZ",
                table: "T_WashBoards",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);

            migrationBuilder.AddColumn<double>(
                name: "Z",
                table: "T_WashBoards",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);

            migrationBuilder.AddColumn<double>(
                name: "MaxZ",
                table: "T_SuctionHeads",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);

            migrationBuilder.AddColumn<double>(
                name: "Z",
                table: "T_SuctionHeads",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);

            migrationBuilder.AddColumn<double>(
                name: "BoardX",
                table: "T_Incubates",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);

            migrationBuilder.AddColumn<double>(
                name: "BoardY",
                table: "T_Incubates",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);

            migrationBuilder.AddColumn<double>(
                name: "BoardZ",
                table: "T_Incubates",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);

            migrationBuilder.AddColumn<double>(
                name: "MaxZ",
                table: "T_Incubates",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);

            migrationBuilder.AddColumn<double>(
                name: "Z",
                table: "T_Incubates",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);

            migrationBuilder.AddColumn<double>(
                name: "MaxZ",
                table: "T_CoverPlates",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);

            migrationBuilder.AddColumn<double>(
                name: "Z",
                table: "T_CoverPlates",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "BoardX",
                table: "T_WashBoards");

            migrationBuilder.DropColumn(
                name: "BoardY",
                table: "T_WashBoards");

            migrationBuilder.DropColumn(
                name: "BoardZ",
                table: "T_WashBoards");

            migrationBuilder.DropColumn(
                name: "MaxZ",
                table: "T_WashBoards");

            migrationBuilder.DropColumn(
                name: "Z",
                table: "T_WashBoards");

            migrationBuilder.DropColumn(
                name: "MaxZ",
                table: "T_SuctionHeads");

            migrationBuilder.DropColumn(
                name: "Z",
                table: "T_SuctionHeads");

            migrationBuilder.DropColumn(
                name: "BoardX",
                table: "T_Incubates");

            migrationBuilder.DropColumn(
                name: "BoardY",
                table: "T_Incubates");

            migrationBuilder.DropColumn(
                name: "BoardZ",
                table: "T_Incubates");

            migrationBuilder.DropColumn(
                name: "MaxZ",
                table: "T_Incubates");

            migrationBuilder.DropColumn(
                name: "Z",
                table: "T_Incubates");

            migrationBuilder.DropColumn(
                name: "MaxZ",
                table: "T_CoverPlates");

            migrationBuilder.DropColumn(
                name: "Z",
                table: "T_CoverPlates");
        }
    }
}
